<cu-custom bgColor="bg-blue" isBack="{{true}}"><view slot="backText">返回</view><view slot="content">信件详情</view></cu-custom>

<view class="cu-list menu card-menu margin-top-xl margin-bottom-xl shadow-lg radius">
  <view class="cu-item">
    <view class="content">
      <text class="cuIcon-mail text-grey"></text>
      <text class="text-grey">收件邮箱号：<text class="text-blue">{{detail.email}}</text></text>
    </view>
  </view>
  <view class="cu-item">
    <view class="content">
      <text class="cuIcon-countdown text-grey"></text>
      <text class="text-grey">约定送达时间：<text class="text-black">{{detail.agreed_date}} {{detail.agreed_time}}</text></text>
    </view>
  </view>
  <view class="cu-item">
    <view class="content" bind="changeShow">
      <text class="cuIcon-share text-grey"></text>
      <text class="text-grey">公开信中的获赞</text>
      <view wx:if="{{detail.mail_show==0}}" bindtap="mailShow" class="cu-tag line-grey" style="float:right">未公开--点击此处公开</view>
      <view wx:if="{{detail.mail_show==1}}" class="cu-tag line-blue" style="float:right">等待审核</view>
      <view wx:if="{{detail.mail_show==3}}" class="cu-tag line-red" style="float:right">未公开--审核被拒</view>
      <view wx:if="{{detail.mail_show==2}}" style="float:right" class="cu-capsule round">
        <view class="cu-tag bg-red ">
          <text class="cuIcon-likefill"></text>
        </view>
        <view style="min-width:57rpx" class="cu-tag line-red">
          {{like_num}}
        </view>
      </view>
    </view>
  </view>
</view>

<view class="margin-xl bg-white padding-xl radius shadow-lg">
  <view class="text-center margin-bottom text-lg solid-bottom text-grey">{{detail.title}}</view>
  <view class="text-content">
    <text style="font-family:text_write">{{detail.content}}</text>
  </view>
</view>

  <view class="padding-xs flex align-center">
   
    <view class="flex-sub text-left">
      <view class="solid-bottom text-xs padding">
        <text class="text-balck">注意事项：\n</text>
        <text class="text-gray">1.信件提交后不可更改。
        2.提交<text class="text-red">三天后</text>将无法在信件列表中查看(公开信除外),忘却才会有期待。
        3.如遇严重错误必须更改，请返回信件列表-点击左上角-联系开发者或提交反馈，说明需要更改的内容。我会尽快帮您处理。</text>
      </view>
    
    </view>
  </view>

<view class="padding">
  <button open-type="share" class="cu-btn block bg-blue margin-tb-sm lg"><text class="cuIcon-forwardfill"></text>分享信件给吃瓜好友</button>
</view>
